package r5.pierwszy.raz;


public class Autoboxing {


	public static void main(String... args) {

		Integer n = null;
		System.out.println(n);
		
		n = 1;
		System.out.println(n);
		
		n++;
		System.out.println(n);
		
		Integer a = -128;
		Integer b = -128;
		System.out.println(a == b);
		System.out.println(a.equals(b));
		Integer c = 127;
		Integer d = 127;
		System.out.println(c == d);
		System.out.println(c.equals(d));
		System.out.println();
		
		int i = 3;
		triple(i);
		System.out.println(i);
		Integer I = 3;
		triple(I);
		System.out.println(I);
		
	}

	public static void triple(int x){
		x *= 3;
	}
	
	public static void triple(Integer x){
		x *= 3;
	}
	
}
